Skip to content

ci: route remaining heavy workflows to self-hosted (Phase 2, fork-gated) - #551

Merged
frstrtr merged 1 commit into
masterfrom
ci-steward/phase2-selfhosted-route
Jun 26, 2026
Merged

ci: route remaining heavy workflows to self-hosted (Phase 2, fork-gated)#551
frstrtr merged 1 commit into
masterfrom
ci-steward/phase2-selfhosted-route

Conversation

@frstrtr

@frstrtr frstrtr commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Phase 2 — route remaining heavy workflows to self-hosted (fork-gated)

Follow-on to #439 (build.yml self-hosted switch). Reclaims more of the
~95.6% machine-hours still on GitHub-hosted by routing the remaining
heavy workflows onto the self-hosted fleet, using the same fork-gated
pattern as #439
: self-hosted for push / internal-branch PRs,
GitHub-hosted fallback for fork PRs.

Runners verified online before routing

gh api repos/frstrtr/c2pool/actions/runners — all online:
Linux-905 (×4), Windows-217, Mac-mini-Alonso-227, macpro-intel-204.

Migrated (runs-on -> fork-gated self-hosted Linux)

  • coin-matrix.yml — coin smoke matrix (ltc/doge/dash/btc/dgb/bch)
  • codeql-analysis.yml — Analyze legs (c-cpp + python)
  • attribution-gate.yml
  • safe-cosmetic-automerge.yml — evaluate

Build-env parity (the two building jobs only)

Mirrors build.yml on coin-matrix + codeql c-cpp manual:

Guardrails

Merge-gated: surfacing for a tap once the full rollup is CLEAN green.

Reclaim GitHub-hosted machine-hours by routing the remaining heavy
workflows onto the self-hosted fleet proven out by #439, using the same
fork-gated runs-on expression (self-hosted for push/internal-branch PRs,
GitHub-hosted fallback for fork PRs).

- coin-matrix.yml  (coin smoke matrix) -> self-hosted Linux / ubuntu-24.04 fork fallback
- codeql-analysis.yml (Analyze legs)   -> self-hosted Linux / ubuntu-24.04 fork fallback
- attribution-gate.yml                 -> self-hosted Linux / ubuntu-latest fork fallback
- safe-cosmetic-automerge.yml (evaluate) -> self-hosted Linux / ubuntu-24.04 fork fallback

Build-env parity with build.yml on the two building jobs (coin-matrix,
codeql c-cpp manual): clean stale reused build dir on self-hosted
(rm -rf build_<coin> / build_codeql) to avoid stale gtest_discover
exit-8, and skip apt system-deps on self-hosted (preinstalled).

Per-coin source-presence guards (PR #47) untouched. CI plumbing only,
no consensus/coin-tree changes.
@frstrtr
frstrtr merged commit edb3fca into master Jun 26, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant